package com.lz.proxy;

/**
 * <pre>
 * @描述：具体的实现类
 * @作者：lizhao
 * @创建时间： 2024/9/26 下午3:12
 * </pre>
 **/
public class Jostar implements Star {
    private String name;

    public Jostar(String name) {
        this.name = name;
    }

    @Override
    public String sing(String songName) {
        System.out.println(name + "唱歌：" + songName);
        return "谢谢！谢谢！";
    }

    @Override
    public void dance() {
        System.out.println(name + "跳舞");
    }
}
